-
-
Notifications
You must be signed in to change notification settings - Fork 364
feat(ErrorLogger): do not show the exception info on DEBUG mode #6075
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Reviewer's GuideWrap exception details rendering in DEBUG builds so that exception stack information is only displayed during development and hidden in production. File-Level Changes
Assessment against linked issues
Possibly linked issues
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR restricts the display of exception details to debug builds only, ensuring that sensitive exception information is not shown in release mode. Key changes include wrapping the UI exception rendering logic within a "#if DEBUG" block and updating inline comments accordingly.
- Wrap exception rendering logic in a conditional compilation block (#if DEBUG).
- Add inline comments to clarify debug-only behavior.
src/BootstrapBlazor/Components/ErrorLogger/BootstrapBlazorErrorBoundary.cs
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6075 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 701 701
Lines 30944 30944
Branches 4376 4376
=========================================
Hits 30944 30944 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Link issues
fixes #6074
Summary By Copilot
Regression?
Risk
Verification
Packaging changes reviewed?
☑️ Self Check before Merge
Summary by Sourcery
Bug Fixes: